From: Corwin Brust Date: Tue, 8 Feb 2022 23:48:14 +0000 (-0600) Subject: Autoload package-installed-p X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2823 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=64d211179db9de955a793a158bc969d9ca568712;p=emacs.git Autoload package-installed-p * lisp/emacs-lisp/package.el (package-installed-p): Add autoload cookie. (Bug#53885) Copyright-paperwork-exempt: yes --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 2e014496139..6aa82e576d9 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -2040,6 +2040,7 @@ if all the in-between dependencies are also in PACKAGE-LIST." package-alist)))) (setf (package-desc-signed (car pkg-descs)) t)))))))))) +;;;###autoload (defun package-installed-p (package &optional min-version) "Return non-nil if PACKAGE, of MIN-VERSION or newer, is installed. If PACKAGE is a symbol, it is the package name and MIN-VERSION